package com.taotao.sys.model.vo.login;


import com.alibaba.fastjson.JSON;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Set;

@Data
public class LoginInfo {
    @ApiModelProperty(value = "用户名")
    private String name;
    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "介绍")
    private String introduction;


    @ApiModelProperty(value = "用户拥有的菜单权限,对应vue-element-admin的角色")
    private Set<String> roles;


    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
